//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-22
//
//  File Name:	YHQAction.h
//
//  Notes:
//
//======================================================================================
#ifndef YHQAction_H
#define YHQAction_H

//local library
#include "YHQCodingCore_Global.h"
#include "YHHPropertyDefine.h"

//QT include
#include <QAction>
#include <QString>


/// <summary>YHQ Action</summary>
/// <author>Kevin Yang</author>
/// <date>2013-4-22</date>
class YHQCodingCore_SHARED_EXPORT YHQAction : public QAction
{
    Q_OBJECT;
    
public:
    explicit YHQAction(QWidget *parent = 0);
    ~YHQAction();
    
public:

    /// <summary>Action IID</summary>
    /// <param name="iString">input string</param>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    YHHPropertyDefineGetSet(ActionIID,QString);

    /// <summary>Library Name</summary>
   /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    YHHPropertyDefineGetSet(LibraryName,QString);

    /// <summary>Comimand IID</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    YHHPropertyDefineGetSet(ComimandIID,QString);

    public
    slots:

    /// <summary>Click Action</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    bool onActionClick();//text edit out
};

#endif // YHQAction_H
